package com.SmartCampus.system.mapper;


import com.SmartCampus.system.model.dto.feedback.FeedbackQueryRequest;
import com.SmartCampus.system.model.entity.Feedback;
import com.SmartCampus.system.model.vo.FeedbackVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
* @author wangliang
* @description 针对表【feedback(反馈表)】的数据库操作Mapper
* @createDate 2024-12-26 18:54:38
*/
public interface FeedbackMapper extends BaseMapper<Feedback> {

    List<FeedbackVO> getFeedbackByAll(Page<FeedbackVO> page, FeedbackQueryRequest feedbackQueryRequest);

    List<FeedbackVO> getFeedbackByMy(Page<FeedbackVO> page, FeedbackQueryRequest feedbackQueryRequest, Long userId);
}




